package com.wbl.featurn.login

import com.wbl.network.BaseResponse
import com.wbl.network.HttpService


class LoginRepository {
    private val service = HttpService.create(LoginApi::class.java)

    suspend fun login(userName: String, password: String): BaseResponse<String> =
        service.login(LoginRequest(userName, password))
}